package _14作业.t1;

import java.util.HashMap;

public class Demo {
    public static void main(String[] args) {
        HashMap<String,String> map=new HashMap<>();
        map.put("张飞","18");
        map.put("刘备","21");
        map.put("关羽","22");
        System.out.println(map);
        map.put("关羽","28");
        System.out.println(map);
        map.remove("关羽");
        System.out.println(map);


    }
}
